![]() |
DMSendDependentNotification |
||||
Header: | Displays.h | Carbon status: | Supported | |
Notifies dependent displays of changes in depth mode or configuration.
OSErr DMSendDependentNotification ( ResType notifyType, ResType notifyClass, AVIDType displayID, ComponentInstance notifyComponent );
The resource type that identifies the engine that made the change. Examples might be component engines that control brightness, contrast, or screen size. You may pass zero in this parameter. See
The resource type that identifies the class of change the user or engine has made, such as color depth, pixel size, or screen size. See
The ID number of the dependent display which you want to notify of Display Manager events. On return, the Display Manager sets the notifyPortID constant of the “Display/Device ID Constantsî
for more information.
A value that notifies the display component what engine, if any, caused a change in a dependent display. You may pass 0 in this parameter.
A result code.
The Display Manager uses the DMSendDependentNotification function to send notifications to registered Display Notice event-handling functions. This function uses all its parameters to supply values for the DependentNotifyRec structure which is sent out to registrants. Generally, your application does not need to use this function.
Because this function may move or purge memory blocks or access handles, you cannot call it at interrupt time.
Supported in Carbon. Available in CarbonLib 1.0 and later when DisplayLib 2.0 or later is installed. Exported by CarbonLib 1.0 and later and by DisplayLib 2.0 and later.
© 2000 Apple Computer, Inc. — (Last Updated 3/8/2000)